package eleanor.ltd.isRealEstate.dao.action;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import eleanor.ltd.isRealEstate.entities.action.Action;

public interface ActionDAO {

	@CommitAfter
	public boolean addAction(Action newA);
	
	public List<Action> findAllAction();
	
	@CommitAfter
	public boolean deleteAction(Action a);
	
	public Action findByID(Long id);
	
	public Action findByAction(String action);
	
}
